package com.niiwoo.civet.trade.dto.request.creditor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * Created by zhoulinquan on 2018/5/13.
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class TradableInvestOrderRequestBaseDTO implements Serializable {
	private static final long serialVersionUID = -8188289541045676680L;

	// 用户ID
	private String userId;
	
	// 排序条件(默认1)：1剩余期限，2可转让金额
	private Integer sort;

	// 排序类型（默认desc）：desc降序，asc升序
	private String sortType;
	
	//最小转让金额，100元起转，非逾期债权
	private BigDecimal minTradableAmount = new BigDecimal(100);
	//最小持有期限，已收回款需在3期以上（含3期）
	private Integer minRepaymentPriod = 3;
	//最小待收期限，待收回款需在1期以上
	private Integer minPaymentPriod = 1;
	//最小可发起债转还款日期，转让日期不为每月回款日或回款前一日
	private Integer minIntervalDays = 2;
	//转让中债权最大数量
	private Integer maxTransferCount;
	//转让中债权最大转让次数
	private Integer maxTransferTimes;
	private Date minReceivedDate;
	//当天，格式yyyy-MM-dd
	private Date currentDate;

}
